package com.selftaught.domain.hcpatientinfo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * 患者信息 request
 *
 * @author huya
 * @date 2025-10-23
 */
public class HcpatientinfoRequest implements Serializable {

    @JsonProperty("header")
    private RequestHeader header;

    @JsonProperty("body")
    private RequestBody body;

    public RequestHeader getHeader() {
        return header;
    }

    public void setHeader(RequestHeader header) {
        this.header = header;
    }

    public RequestBody getBody() {
        return body;
    }

    public void setBody(RequestBody body) {
        this.body = body;
    }

    /**
     * Header
     */
    public static class RequestHeader {

        private String UserID;

        private String DeviceID;

        private String AppCode;

        private String ReqTime;

        private String ReqTraceNo;

        public String getUserID() {
            return UserID;
        }

        public void setUserID(String userID) {
            UserID = userID;
        }

        public String getDeviceID() {
            return DeviceID;
        }

        public void setDeviceID(String deviceID) {
            DeviceID = deviceID;
        }

        public String getAppCode() {
            return AppCode;
        }

        public void setAppCode(String appCode) {
            AppCode = appCode;
        }

        public String getReqTime() {
            return ReqTime;
        }

        public void setReqTime(String reqTime) {
            ReqTime = reqTime;
        }

        public String getReqTraceNo() {
            return ReqTraceNo;
        }

        public void setReqTraceNo(String reqTraceNo) {
            ReqTraceNo = reqTraceNo;
        }
    }

    /**
     * Body
     */
    public static class RequestBody {

        private String itemType;

        private String itemNo;

        public String getItemType() {
            return itemType;
        }

        public void setItemType(String itemType) {
            this.itemType = itemType;
        }

        public String getItemNo() {
            return itemNo;
        }

        public void setItemNo(String itemNo) {
            this.itemNo = itemNo;
        }
    }
}
